<include file="Public:header" />
<div class="overflow_h">
<!--<div class="img i_i_l">
    <volist name='img_list' id='vo'>
        <a target="_blank" href="{$vo.url}"><img src="{$vo.img}" /></a>
    </volist>
</div>-->

<!-- banner开始 -->
<div class="flexslider">
    <ul class="slides">
  
            <li style="background:url(Public/banner/images/img1.jpg) no-repeat center; width:100%; height:550px;"></li>
            <li style="background:url(Public/banner/images/img2.jpg) no-repeat center; width:100%; height:550px;"></li>
            <li style="background:url(Public/banner/images/img3.jpg) no-repeat center; width:100%; height:550px;"></li>

      
    </ul>
</div>
<!-- banner结束 -->


<div class="col_bg">
    <h2 class="index_h2_1">二手房/出租房</h2>
    <p class="new_p">{$siteName}二手房频道，精选最热门二手房房源</p>
    <div class="main1">
        <div class="buy_tab"  style="padding-left:210px;">
            <ul id="es">
                <li><a data-bid="12" class="selected">二手房</a></li>
                <li><a  data-bid="13">二手房小区</a></li>
                <li><a  data-bid="14">出租房</a></li>
                <li><a  data-bid="15">出租房小区</a></li>
                <li><a href="javascript:;">求租</a></li>
                <li style="background:none"><a href="javascript:;">求购</a></li>
            </ul>
        </div>
        <div class="group_buy overflow_h">
            <div class="group_buy_l2">
                <ul id="es_list">
                    <volist name="pos_list[12]"  id="vo" offset="0" length='8'>
                        <li> <span class="group_buy_l_img">
                <div class="buy_t1"><h1><a target="_blank" href="{$vo.url}">{$vo.type_area}-{$vo.area}㎡</a></h1></div>
                <a target="_blank" href="{$vo.url}"><img src="{$vo.img}" width="200" height="150" /></a></span>
                            <h2><span class="g_b_r">总价:<span class="red01">{$vo.total_price}</span>万</span>{$vo.average_price}元/㎡</h2>
                            <p>{$vo.title}</p>
                        </li>
                    </volist>
                </ul>
            </div>
            <div class="group_buy_r">
                <div class="second_but">
                    <ul class="overflow_h">
                        <li><a href="{:MU('Used/add')}" target="_blank"  class="but05">发布二手</a></li>
                        <li><a href="{:MU('Rental/add')}" target="_blank"  class="but04">发布出租</a></li>
                        <li><a href="{$site.link}" target="_blank" class="but03">发布求购</a></li>
                        <li><a href="{$site.link}" target="_blank" class="but06">发布求租</a></li>
                        <li><a href="{$site.link}" target="_blank"  class="but07">委托出售</a></li>
                        <li><a href="{$site.link}" target="_blank"  class="but08">委托出租</a></li>
                    </ul>
                </div>
                <div class="index_broker">
                    <ul>
                        <volist name='index_user' id='vo'>
                        <li class="overflow_h"> <span class="broker_img"><a target="_blank" href="{:U('Store/index',array('uid'=>$vo['user_id']))}"><img src="{$vo.head_ico}" width="75" height="75" /></a></span> <h2><a target="_blank" href="{:U('Store/index',array('uid'=>$vo['user_id']))}">{$vo.true_name}</a></h2> <p>购房热线: {$vo.hot_line}</p> <p>售 <span class="org01">{$vo.used_housing}</span> 套，租 <span class="org01">{$vo.rental_housing}</span> 套</p> </li>
                        </volist>
                    </ul>
                    <div class="more01">
                        <a href="{:U('Agency/index')}" class="but09">更多经纪人</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="col_bg2">
<div class="main1">
    <h2 class="index_h2">热门小区</h2>
    <p class="new_p">{$siteName}小区频道，汇集最新小区信息</p>
    <div class="group_buy overflow_h">
        <div class="group_buy_l3">
            <ul>
                <volist name='top_estate' id="vo">
                <li> <span class="group_buy_l_img">
                <div class="buy_t1">
                <h1><a target="_blank" href="{:U('Estate/detail',array('id'=>$vo['id']))}">{$vo.title}</a></h1>
                </div><a target="_blank" href="{:U('Estate/detail',array('id'=>$vo['id']))}"><img src="{$vo.img}" width="200" height="150" /></a></span><h2 class="estate_h2">二手房(<span>{$vo.sell_count}</span>)套&nbsp;&nbsp;&nbsp;出租房(<span>{$vo.lease_count}</span>)套</h2> <p>{$vo.address}</p>
                </li>
                </volist>
            </ul>
        </div>
        <div class="group_buy_r">
            <div class="news_f">
                <h1 class="f_h1"><span class="more"><a target="" href="{:U('Used/index')}">更多</a></span>二手房推荐</h1>
                <ul>
                    <volist name='rec_used' id='vo'>
                        <li><span class="news_f_img"><a target="_blank" href="{:U('Used/detail',array('id'=>$vo['id']))}"><img src="{$vo.img}" width="120" height="86" /></a></span><h2><a target="_blank" href="{:U('Used/detail',array('id'=>$vo['id']))}">{$vo.title}</a></h2><p>{$vo['tags']}</p><p><span class="red02">{$vo.average_price}</span>元/平方米</p></li>
                    </volist>
                </ul>
                <div class="n_img">
                    {:getOneAd(11,300,75)}
                </div>
            </div>
        </div>
    </div>
</div>
</div>



<div class="col_bg">
    <div class="main overflow_h">
        <div class="index_box index_mar">
            <h1 class="index_box_h1"><span class="more"><a href="{:U('News/lists',array('alias'=>'loupanxinwen'))}">更多</a></span>楼盘新闻</h1>
            <span class="i_img">{:getOneAd(6,373,81)}</span>
            <ul class="index_ul">
                <volist name='lpxw' id='vo'>
                    <li><a target="_blank" title="{$vo.title}" href="{:U('News/detail',array('id'=>$vo['id']))}">{$vo.title}</a></li>
                </volist>
            </ul>
        </div>
        <div class="index_box index_mar">
            <h1 class="index_box_h1"><span class="more"><a href="{:U('News/lists',array('alias'=>'dujiabaodao'))}">更多</a></span>独家报道</h1>
            <span class="i_img">{:getOneAd(7,373,81)}</span>
            <ul class="index_ul">
                <volist name='djbd' id='vo'>
                    <li><a target="_blank" title="{$vo.title}" href="{:U('News/detail',array('id'=>$vo['id']))}">{$vo.title}</a></li>
                </volist>
            </ul>
        </div>
        <div class="index_box">
            <h1 class="index_box_h1"><span class="more"><a href="{:U('Ask/index')}">更多</a></span>最新问答</h1>
            <span class="i_img">{:getOneAd(8,373,81)}</span>
            <div class="index_ul01">
                <ul>
                    <volist name='answer_list' id='vo'>
                    <li> <h2><a target="_blank" href="{:U('Ask/detail',array('id'=>$vo['ask_id']))}">{$vo.title}</a></h2> <p>{:msubstr($vo['info'],0,26)}</p> </li>
                    </volist>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="link">
    <h1 class="link_h1"><span class="more"><!--a target="_blank" href="{:U('Link/index')}">更多</a--></span>友情链接</h1>
    <ul class="overflow_h">
        <volist name='link' id='vo'>
        <li><a target="_blank" href="{$vo.url}">{$vo.name}</a></li>
        </volist>
    </ul>
	
</div>
</div>
<script type="text/javascript" src="__JS__/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript" src="__JS__/index.js"></script>
<script type="text/javascript">
    $(function(){
        $('.flexslider').flexslider({
            directionNav: true,
            pauseOnAction: false
        });
    });
    $("#xf a,#es a").click(function(){
        var pid = $(this).parent().parent().attr('id');
        $("#"+pid+" a").removeClass('selected');
        $(this).addClass('selected');
        var cate_id = $(this).attr('data-bid');
        if(cate_id){
            $.ajax({
                type: "post",
                url : "{:U('Ajax/getPosition')}",
                dataType:'json',
                data:{cate_id:cate_id},
                success: function(json){
                    if(json.status==1){
                        getTpl(json.model, json, pid+'_list', 3);
                    }else{
                        msg_show(json.msg,2)
                    }
                }
            });
        }
    });

</script>

<include file="Public:footer" />